<%@ page import="cz.tpj.logic.*" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<%
final String ACTION = "action";
String message = new String();
//
String action = request.getParameter(ACTION);
//pokud bylo zmacknuto tlacitko Uloz, pak proved nasledujici kod
if(action != null){
	message = "<p>Ukladam zmeny</p>";
}
%>
<html>
    <%= Navigation.getHead(null) %>
    <%= Navigation.getStartBody() %>
    <%= Navigation.getNavigationPanel(null, request) %>
          
        <div id="<%= Navigation.DIV_CENTER %>">
            <h1>Uprav bod zájmu</h1>
            <%= message %>
            <form accept-charset="UTF-8" method="POST" action="<%= Navigation.JSP_MOD_ATTRACTIVE_PLACE %>">
	            <p>
	            	<label>Název místa:</label><br/>
	           		<input type="text" >
	           	</p>
	           	<p>
	           		<label>Krátký popis:</label><br/>
	           		<textarea name="" cols="50" rows="5">textik</textarea>
	           	</p>
	           	<p>
	           		<label>Dlouhý popis:</label><br/>
	           		<textarea name="" cols="50" rows="10">textik</textarea>
	           	</p>
	           	<p>
	           		<label>Přiřaď městu:</label><br/>
	           		<select name="" >
	           			<option>polozka</option>
	           		</select>
	           	</p>
	           	<p>
	           		<input type="submit" name="<%= ACTION %>" value="Ulož změny">
	          	</p>
          	</form>
        </div>
 	
 	<%= Navigation.getLoginLink(request) %>
</html>
